import {getToken} from "@/util";
import axiosInstance from "@/api";

export async function useGetAddGroup() {
    const token = getToken()
    return await axiosInstance.get<any, { code: number, msg: string, data: any }>("/v1/group/add/info", {
        headers: {"x-token": token}
    })
}